﻿@model Web_App___AWS_ELB_Monitor.Models.Alarms.AlarmsIndexViewModel

@{
    ViewBag.Title = "Index";
}

<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script>
    <script src="http://cloud.github.com/downloads/SteveSanderson/knockout/knockout-1.2.1.js" type="text/javascript"></script>
    <script type='text/javascript' src='http://www.google.com/jsapi'></script>
    <script src="@Url.Content("~/_/logic/AlarmList.js")" type="text/javascript"></script>
 <style>
    html,body {margin:0;padding:0;width:100%;height:100%;background-color:white;}
    #AllAlarms {width:100%}
    .chart {height:320px;}
 </style>
</head>

<body>
<div id="AllAlarms">


</div>
 


<script type="text/javascript">
    var alarmList;
    $(function(){ 
        alarmList = new AlarmList("@Url.Action("AlarmsData")","@Url.Action("AlarmData")",40000,"AllAlarms");
    });
</script>

</body>
</html>






